-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link sigchat to existing Signal account #465
Conversation
alternatives are presented to user as required
- prompt the user for the Signal host server - probe the host for the tls Certificate Authorities chain of trust - allow the user to trust 1 or more Certificate Authorities
- create a new Account in the pddb - create an Account Manager to coordinate the Link - request a name for the device being linked (ie default 'xous') - call Manager.link() - on failure - delete the pddb Account record
now the user is only presented with the tls trust_modal when none of the required CA's are trusted
This PR is now at a sensible point for review - before it gets any bigger |
For user testing purposes - sigchat can be fully reset with shellchat:
|
temporarily default to Staging
Tie the Staging Environment specifics to the Account Manager Note sigchat is hard coded for the Staging Environment for now
Note that the sigchat device-link process is temporarily hard coded to the Staging Service Environment (rather than the Live Service Environment). This means that during development/testing we will need to create a Primary Signal Account in the Staging Environment. This can be achieved with a spare SIM and signal-cli. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will merge as soon as the stability PR has run the CI gauntlet. sorry this took a while..holidays, plus distracted with IRIS.
Thanks for the note - and no problem - and no rush. I am using this hiatus to make some long overdue progress on another unrelated project. Very grateful for the progress on libsignal. |
alright, the fire drill is over -- let's merge this and see how it goes |
Linking sigchat to an existing Signal Account involves:
steps 2, 3, 5 and 6 require libsignal
Refinements are made to
lib/tls
to facilitate presenting the tls trust modal to the user ONLY when none of the required CA's are trusted.Note that the sigchat device-link process is temporarily hard coded to the Staging Service Environment (rather than the Live Service Environment). This means that during development/testing we will need to create a Primary Signal Account in the Staging Environment. This can be achieved with a spare SIM and signal-cli.